<!-- edu_15_3_2.html -->
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>图片试看</title>
<script type="text/javascript">
function $(id){return document.getElementById(id);}
function mouseOver(){$('b1').src ="/Imag/sj1.jpg";}
function mouseOut(){$('b1').src ="/Imag/sj2.jpg";}
</script>
<style type="text/css">
	p,h4{text-align:center;}
</style>
</head>
<body>
<h4>图片试看</h4>
<hr color="blue">
<p>
<img alt="鼠标移动事件" src="/Imag/jz.jpg" id="b1" onmouseover="mouseOver()" onmouseout="mouseOut()"/>
</p>
</body>
</html>
